package cn.com.api.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_brand;
import cn.com.api.mapper.ApiT_brandMapper;
import cn.com.api.service.ApiT_brandService;
import cn.com.api.service.impl.base.T_brandServiceImplBase;

/**
 * 
 **/
@Service
public class ApiT_brandServiceImpl extends T_brandServiceImplBase implements ApiT_brandService {
	@Autowired
	private ApiT_brandMapper apiT_brandMapper;

	public List<ApiT_brand> findT_brandsByMap(HashMap hashMap) {
		return apiT_brandMapper.findT_brandsByMap(hashMap);
	}

	@Override
	public List<Map<String, Object>> findT_brandsByTypeId(
			@Param("map") Map<String, Object> map) {
		//
		List<Map<String, Object>> brands= apiT_brandMapper.findT_brandsByTypeId(map);
		return brands;
	}
}
